<!DOCTYPE html>
<html>

	<head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
                  <link rel="stylesheet" type="text/css" href= "<?php echo base_url()."application/public/css/login.css" ?>" >
	</head>
	<body align="center">
		<div id=site>
                    <div id="wrapperLogin">       
			<div id="cefeBanner"><img src="<?php echo base_url()."application/public/images/cefeTituloClaro.png"?>" /></div>  
			<div id="LoginForm" >
                            <?php                
                                $atrib = array('class'=>'areaForm');
                                echo form_open('Login_controller/logar_usuario',$atrib)
                            ?>
                                <table>					
                                            <thead>						
                                                    
                                                    <th colspan="2" class="inputAzulClaro" >Login</th>						
                                            </thead>						


                                            <tbody class="inputAzulEscuro">	

                                                    <tr colspan="2" class inputAzulClaro><td> <?php if(!is_null($loginResult)){ echo $loginResult; } ?> </td></tr>
                                                    <tr>
                                                        <td colspan="2"><?php echo  form_input('ilogin', 'login') ?></td>
                                                    </tr>
                                                    <tr>
                                                         <td colspan="2"><?php echo  form_password('isenha', 'senha') ?></td>
                                                    </tr>
                                                    <tr>
                                                         <td colspan="2"><?php echo  form_submit('isubmit','entrar')?></td>
                                                    </tr>

                                            </tbody>

                                    </table>
                            
                            <?php echo form_close()  ?>
                            
                
                            
                            
			</div>
		
                        <div id="Cadastro" align='center'>
                             
                             <?php echo form_open('Login_controller/cadastroUsuario');
                             
                                   echo form_submit('Cadastre-se','Cadastre-se');
                                
                                   echo form_close();
                                   
                             ?>
                         </div>     

                    </div>
	
		</div>
			
	</body>


</html>
